package SungJuk_Test;

public class T01_SungJuk_Subject {

	private int student_No;
	private String student_Name;
	private int kor_Score;
	private int eng_Score;
	private int mat_Score;
	private int tot_Score;
	private float avg_Score;
	private String student_Grade;

	public T01_SungJuk_Subject() {
		student_No = 0;
		student_Name = null;
		kor_Score = 0;
		eng_Score = 0;
		mat_Score = 0;
		tot_Score = 0;
		avg_Score = 0;
		student_Grade = null;
	}

	public T01_SungJuk_Subject(int student_No, String student_Name,
			int kor_Score, int eng_Score, int mat_Score) {
		this.student_No = student_No;
		this.student_Name = student_Name;
		this.kor_Score = kor_Score;
		this.eng_Score = eng_Score;
		this.mat_Score = mat_Score;
	}

	public int getStudent_No() {
		return student_No;
	}

	public void setStudent_No(int student_No) {
		this.student_No = student_No;
	}

	public String getStudent_Name() {
		return student_Name;
	}

	public void setStudent_Name(String student_Name) {
		this.student_Name = student_Name;
	}

	public int getKor_Score() {
		return kor_Score;
	}

	public void setKor_Score(int kor_Score) {
		this.kor_Score = kor_Score;
	}

	public int getEng_Score() {
		return eng_Score;
	}

	public void setEng_Score(int eng_Score) {
		this.eng_Score = eng_Score;
	}

	public int getMat_Score() {
		return mat_Score;
	}

	public void setMat_Score(int mat_Score) {
		this.mat_Score = mat_Score;
	}

	public int getTot_Score() {
		return tot_Score;
	}

	public void setTot_Score(int tot_Score) {
		this.tot_Score = tot_Score;
	}

	public float getAvg_Score() {
		return avg_Score;
	}

	public void setAvg_Score(float avg_Score) {
		this.avg_Score = avg_Score;
	}

	public String getStudent_Grade() {
		return student_Grade;
	}

	public void setStudent_Grade(String student_Grade) {
		this.student_Grade = student_Grade;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("○ ").append(getStudent_Name()).append(" 의 성적표입니다.");
		sb.append("\n○ 학생번호 : ").append(getStudent_No())
				.append("\n○ 국어점수 : ").append(getKor_Score())
				.append("\t○ 영어점수 : ").append(getEng_Score())
				.append("\t○ 수학점수 : ").append(getMat_Score())
				.append("\n○ 총    점 : ").append(getTot_Score())
				.append("\t○ 평    균 : ").append(getAvg_Score())
				.append("\t○ 학    점 : ").append(getStudent_Grade());
		return sb.toString();
	}
}